<template>
  <div>
    <h2>这是子组件  {{ title }}</h2>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: '这是默认值'
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
